package com.zuoye.Dao;

import com.zuoye.Opjo.Class;
import com.zuoye.Opjo.Student;

import java.sql.Connection;
import java.util.ArrayList;

/**
 * @version v1.0
 * @Description
 * @Author admin
 * @date 2021/7/29  19:07
 * @Copyright
 */
public interface StuDaoIntrface {
    int insert(ArrayList<Student> list);

    int delete(int studentId);

    int update(Student student);

    ArrayList<Student> query(Student student);

    int transaction(Connection connection, ArrayList<Student> list);
}
